package com.itqian.seller.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Size;
import java.time.LocalDateTime;

/**
 * @author shishuqian
 * date 2022/3/22
 * time 11:25
 **/
@Data
public class FoodCategoryVO {

    private Integer categoryId;

    @NotBlank(message = "分类不能为空")
    @Size(max = 64,message = "分类名最大长度为64")
    private String categoryName;

    private LocalDateTime updateTime;
}
